#ifndef UDPNET_H
#define UDPNET_H

#include<stdio.h>
#include <sys/socket.h>
#include <sys/types.h>          /* See NOTES */
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string.h>
#include <unistd.h>
#include <pthread.h>

#define DEST_IP "192.168.1.136"
#define DEST_PORT 15000
#define HOST_IP "192.168.1.137"
#define HOST_PORT 11000

extern int sendsocketfd;
extern int recvsocketfd;
extern struct sockaddr_in hostaddr;
extern struct sockaddr_in dest_addr;
extern int udpsendstr(const char* data);
extern void udprecv_routine(void);


#endif